<!--

    Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
    Portions Copyright &#169; [2017-2020] Payara Foundation and/or affiliates.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<p><a id="task-addresources" name="task-addresources"></a><a id="GHCOM326" name="GHCOM326"></a></p>

<h4><a id="sthref114" name="sthref114"></a>To Add Resources Configured in an XML File</h4>
<a name="BEGIN" id="BEGIN"></a>
<ol>
<li>
<p>In the navigation tree, select the Resources node.</p>
<p>The Resources page opens.</p>
</li>
<li>
<p>Click the Add Resources button.</p>
<p>The Add Resources page opens.</p>
</li>
<li>
<p>Select one of the following options to specify the location of the <code>glassfish-resources.xml</code> file:</p>
<dl>
<dt>XML File to Be Uploaded to the Server</dt>
<dd>
<p>Type the path to the file if it is located on a remote machine.</p>
</dd>
</dl>
<dl>
<dt>Local XML File That Is Accessible from Payara Server</dt>
<dd>
<p>Type the path to the file if it is located on the domain administration server (DAS) machine.</p>
</dd>
</dl>
</li>
<li>
<p>From the Target drop-down list, select the cluster or stand-alone server instance on which to create the resources.</p>
</li>
<li>
<p>Click OK.</p>
</li>
</ol>



<small>Copyright &#169; 2005, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small>
<small>Portions Copyright &#169; [2017-2020] Payara Foundation and/or affiliates.</small>
